package guowei.guliproduct.product.feign;

import guowei.common.to.es.WareSkuIdStocks;
import guowei.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;

@FeignClient("guliStorage")
public interface StorageWareStock {

    @RequestMapping("/storage/waresku/getstocks")
    List<WareSkuIdStocks> getStocks(@RequestBody List<Long> skuIds);

}
